<h2 class="title3" style="width: 95%">
  编辑下载资源	
</h2>


<% form_tag("/content/up_download", :method => :post, :name => "postform") do %>
	<%= hidden_field_tag :id, @download.id %>
	<p>
		<label for="download_title" style="font-size: 14px">标题：</label>
		<%= text_field :download, :title, :class => "text",:style => "width:45%" %>
	</p>
	<p>
		<label for="download_need_login" style="font-size: 14px">是否需要登录才能下载：</label>
		<%= check_box :download, :need_login, {}, 1, 0 %>
	</p>
	<%= render :partial => "share/post_content", :locals => {:post => @download} %>
	<br/>
  <%= submit_tag "保存", :class => "submit" %>
<% end %>

<%= render :partial => "share/upload_file" %>
